package mesweb.mesweb.enums;

import com.baomidou.mybatisplus.annotation.IEnum;

/**
 * @Description: TODO
 * @Author niufw
 * @Date 2021/11/24 12:41
 * @Version 1.0
 */

public enum  PlanMethod  implements IEnum<Integer>  {
   UNKNOWN(0,"未知"),
   FORWARD(1,"正排"),
   BACKWARD(2,"倒排");

   Integer code;
   String msg;

   
   PlanMethod(Integer code, String msg) {
      this.code = code;
      this.msg = msg;
   }

   public String getMsg() {
      return msg;
   }

   public void setMsg(String msg) {
      this.msg = msg;
   }

   @Override
   public Integer getValue() {
      return this.code;
   }
}
